package abstractFatherTest;

/**
 * @author LIBOFEI
 * @ClassName Test
 * @description
 * @date 2021/12/28 18:38
 * @Version 1.0
 **/
public class Test extends AbstractFather {

    private Long post;


    public Long getPost() {
        return post;
    }

    public void setPost(Long post) {
        this.post = post;
    }


    public static void main(String[] args) {
        AbstractFather test = new Test();
        test.setPostId(1L);
        setFather(test);
        System.out.println(test.getPostId());
        System.out.println(test.getPostName());
    }

    public static void setFather(AbstractFather abstractFather){
        abstractFather.setPostName("1111111");
    }
}
